<h2>Log In</h2>
<%% if flash[:error] : %><div id="errorExplanation" ><%%= flash[:error] %></div><%% end %>
<%% form_tag <%=session_file_name.singularize%>_url do %>
<table class='layout'>
  <tr>
    <td class='label'>Login (Email):</td>
    <td class='input'><%%= text_field_tag 'login', h(params['login']), :size => 35, :maxlength => 40 %></td>
  </tr>
  <tr>
    <td class='label'>Password:</td>
    <td class='input'><%%= password_field_tag :password , params[:password], :size => 35, :maxlength => 40 %></td>
  </tr>
  <tr>
    <td colspan='2' class='separate' style="text-align:center"><%%= submit_tag 'Log In' %></td>
  </tr>
</table>
<%% end %>


